import upload from '@/utils/upload'
import request from '@/utils/request'

// 我的问题
export function getQuestionsMyQuestions(data) {
  return request({
    url: '/system/questions/myQuestions'+data,
    method: 'get'
  })
}
// 提问删除
export function getQuestionsedit(data) {
  return request({
    url: '/system/questions/edit',
    method: 'post',
	data: data,
  })
}
// 我的咨询
export function getCounselingMyConsults(data) {
  return request({
    url: '/system/counseling/myConsults'+data,
    method: 'get'
  })
}
// 咨询删除
export function getCounselingedit(data) {
  return request({
    url: '/system/counseling/edit',
    method: 'post',
	data: data,
  })
}
// 评价
export function getEvaluateEvaluate(data) {
  return request({
    url: '/system/evaluate/evaluate',
    method: 'post',
	data: data,
  })
}
// 我的问题详情
export function getQuestionssDetail(data) {
  return request({
    url: '/system/questions/detail/'+data,
    method: 'get'
  })
}
// 我的咨询详情
export function getCounselingDetail(data) {
  return request({
    url: '/system/counseling/detail/'+data,
    method: 'get'
  })
}
// 完成问题
export function getQuestionsQuestionDone(data) {
  return request({
    url: '/system/questions/questionDone/'+data,
    method: 'post',
	// data: data,
  })
}
// 结束咨询
export function getCounselingCounselingDone(data) {
  return request({
    url: '/system/counseling/counselingDone/'+data,
    method: 'post',
	// data: data,
  })
}

